Nexus Weblogging
V2EX
You are here V2EX > 机械境 > Project Babel > Babel Installer Beta 2 Released

Leechael


2.563%



online now
回复主题 | 跳到回复(40)

Babel Installer Beta 2 Released

... by Leechael ... 8 月 26 天前 ... 824 次点击

http://public.box.net/leechael
http://code.google.com/p/project-rahab/downloads/list
其中的 rahab.r8.tar.gz 是包含了全部文件的完整源代码,包括:
Project-Babel r62
Project-Rahab r8
Zend Framework 0.8.0
PEAR
Project-Babel 所需要的图标包

修正数据库名带有“_”时报错的问题。
更改设置的写入方法。
优化页面的设置。
加入对 Windows + Apache + PHP + MySQL 服务器的支持(测试)。
加入空白的 .htaccess 文件,已经放置在 htdocs 文件夹下。Linux 用户不需要可以删除。

目前实现:
检测系统环境是否能够安装 Babel。
所有需要写入或者覆盖的文件都自动备份到 res 文件下。
自动导入 sql 文件。
首个 node 以及 board 均可以自定义名称。
安装完成后建立锁定文件,防止 installer 的再次运行。

使用方法:
运行 install.php 并按首页提示设置文件读写权限,然后继续安装。

常见问题:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 233472 bytes) in ......

设置 php.ini 中的 memory_limit = 16M 可以解决。

验证码不能显示?

清空 htdocs/img/c 中的所有图片, 清空 cache/7200 中的所有文件(需要管理员权限)。

如无意外,Project-Rahab Beta 2 将会是最后一个 Beta 版本。欢迎你的测试和尝试,并提出所有使用中出现的 BUG 以及各种改进的意见!

40 篇回复 | 回到顶部 | 回复主题
1 - 3-18 2:02
Sail 武汉
赞一个!
2 - 3-18 2:21
after22 Sputnik 1
Babel Installer Beta 2

是否适用于 DH 呢?
3 - 3-18 2:24
Leechael 楼主 Sputnik 1
@after22
未测试。。。。欢迎你进行尝试!
4 - 3-18 7:18
Leechael 楼主 Sputnik 1
补充:使用 Installer 安装完毕后,最好把 htdocs/core, Vocabularies.php, Settings.php, .htaccess 这几个文件(夹)的权限修改一下。777 的权限可能会造成安全隐患。
5 - 3-18 10:28
Bdemon 广东
赶紧下载回去,在DH上试试。
6 - 3-18 11:35
venson 金星
太棒了~~~
7 - 3-18 12:09
venson 金星
还是有那个问题:

我的安装路径是:
http://localhost/r8/htdocs/install.php

到第三步就出错了
http://localhost/install.php?m=database

提示找不到网页

Beta1时说要改apache 的 document root 指向..
是说改apache目录下babel_win32.conf文件中的内容吗?
我这样改的:
DocumentRoot D:/gapm/htdocs/r8/htdocs/install.php
RewriteEngine On
Include D:/gapm/htdocs/r8/apache/rewrite.conf
<Directory D:/gapm/htdocs/r8/htdocs/>
ErrorLog D:/gapm/htdocs/r8/logs/error.log
CustomLog D:/gapm/htdocs/r8/logs/access.log combined

注:windows下AMP环境
8 - 3-18 13:29
Bdemon 广东
这次非常顺利,但我填完个性化设置后,老提示

你的输入似乎有些问题。

这就让我郁闷了。我样样有填,哪里出错了?
9 - 3-18 13:31
Bdemon 广东
知道为什么了,终于弄好了。
10 - 3-18 13:50
Ludwig 中山
"_"的问题终于搞定啦,下载来在dh上试试先!
我不用installer,自己装,发现在上传头像时出问题,上传不成功
路径是指向img/p,但404错误说是找不到img/p_static/下的图片
是什么问题呢?
还有原始的img的指向是p1.v2ex.com的,如果自已空间有完整的图片的话,最好就改为自己的空间的域名,免得增加v2ex的流量
11 - 3-18 15:33
Leechael 楼主 Sputnik 1
贴出我在 windows 下测试时的 Apache 配置,仅供参考:

NameVirtualHost 127.0.0.1

ServerName leechael.org

<VirtualHost dev.leechael.org>

ServerAdmin yanleech@gmail.com



RewriteEngine On



DocumentRoot D:/wamp/www/htdocs

<Directory />

Options FollowSymLinks

AllowOverride All

Order deny,allow

Deny from all

Allow from 127.0.0.1

</Directory>



<Directory D:/wamp/www/htdocs/>

Options Indexes FollowSymLinks

AllowOverride All

Order deny,allow

Deny from all

Allow from 127.0.0.1

</Directory>



ErrorLog D:/wamp/logs/babel_error.log

LogLevel warn



CustomLog D:/wamp/logs/access.log combined

</VirtualHost>
12 - 3-18 15:38
Leechael 楼主 Sputnik 1
@Ludwig
如果你的 Settings.php 文件是由 Settings.unix.php 改名而成,更改 153 和 159 define 的值为 '/img/'就不用引用 v2ex 的数值了。上传不了头像,看看是不是 Settings.php 文件中某个设置没有设置好。建议你把安装过程说一遍。
13 - 3-18 15:43
Leechael 楼主 Sputnik 1
@venson
r8 中并没有 install.php?m=database 这个页面……我也稍微检查了一下 r8 的代码,也找不到到这个页面的链接……你重新下载 r8, 并将原来的文件夹中所有的文件删除试试看。了
14 - 3-18 16:11
venson 金星
是我贴错了,应该是:
http://localhost/install.php?m=foundation

是修改 babel_win32.conf 吗????????

我改后的:

<VirtualHost 127.0.0.1:80>
NameVirtualHost 127.0.0.1
ServerName v2ex
ServerAdmin v2ex.livid@gmail.com

RewriteEngine On
Include D:/gapm/htdocs/apache/rewrite.conf

DocumentRoot D:/gapm/htdocs/htdocs/
<Directory />
Options Indexes FollowSymLinks
AllowOverride None
Order deny,allow
Dent from 127.0.0.1
</Directory>

<Directory D:/gapm/htdocs/r8/htdocs/>
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from 127.0.0.1
</Directory>

ErrorLog D:/gapm/logs/error.log
LogLevel warn

CustomLog D:/gapm/logs/access.log combined
</VirtualHost>
15 - 3-18 16:11
venson 金星
还是不行啊!!!
16 - 3-18 16:15
Leechael 楼主 Sputnik 1
去掉:
Include D:/gapm/htdocs/apache/rewrite.conf

DocumentRoot D:/gapm/htdocs/htdocs/
与
<Directory D:/gapm/htdocs/r8/htdocs/>
并不一致?

Order deny,allow
Dent from 127.0.0.1
这里应该是
Order deny,allow
allow from 127.0.0.1
17 - 3-18 17:51
Bdemon 广东
成功安装后无法访问怎么办?
18 - 3-18 18:00
Leechael 楼主 Sputnik 1
页面给出的错误信息是?
19 - 3-18 18:09
Bdemon 广东
例如我想注册,访问www.***.com/user/create.vx,会提示No Found.
20 - 3-18 18:12
Leechael 楼主 Sputnik 1
检查 apache 的配置文件。
系统是 windows?
21 - 3-18 18:14
Bdemon 广东
DH上应该是Linux的吧,好的我这就去检查。
不过我已经打算全部重新来,重新安装一次。?
22 - 3-18 18:22
venson 金星
晕倒,我装了wamp,但到第二部就停了....

[System]GD Library: 该服务器上没有安装 GD Library。
[System]FreeType: 该服务器上没有安装 FreeType。
[System]mcrypt: 该服务器上没有安装 mcrypt。

怎么安装这几个服务啊??

之前用的是Gamp还挺好,什么服务都有,但修改 babel_win32.conf (复制 Leechael 的配置) 还是到第三步就找不到页面.....

什么原因啊??我已经把r8里面的文件夹都拷到根目录下了啊!!
23 - 3-18 18:34
Leechael 楼主 Sputnik 1
可以试试我所说的 wamp5,启用各种 module 都方便得很。
24 - 3-18 18:36
Leechael 楼主 Sputnik 1
或许我应该写一篇在 windows 下如何迅速架设支持 Babel 的服务器的教程……Orz....
25 - 3-18 18:45
msino Sputnik 1
win下用xampp也很方便的哇~~
26 - 3-18 18:53
Leechael 楼主 Sputnik 1
其实选择最熟悉的就可以了……
27 - 3-18 18:54
Leechael 楼主 Sputnik 1
不过,我自己的测试结果是,windows 下 Babel 的运行效率明显没有 Linux 下的高……
28 - 3-18 19:35
venson 金星
刚装的是wamp5啊!!还缺这么多东西....
29 - 3-18 19:49
venson 金星
还是等你的傻瓜教程吧,实在是搞不定了....
30 - 3-18 22:23
Leechael 楼主 Sputnik 1
……下一周前搞定教材。
31 - 3-19 21:17
GiL 威海
在dh上安装成功,不过最后一步提示错误,不会有什么影响吧?

Babel 安装完成!
点击 这里 进入注册界面注册第一位用户
注意,第一位注册用户拥有特别的权力,请注意安全!

Fatal error: Call to undefined method Installer::vxSessionDestroy() in /htdocs/core/RahabPageCore.php on line 692

在win wamp5下安装成功,可以注册,但是登录时,直接跳转到首页,并没用真正登录成功,不知道是什么原因??
32 - 3-19 21:43
venson 金星
我咋就安装不成功捏?
谁有DH空间划我一份我也试试啊~~
33 - 3-19 22:06
Leechael 楼主 Sputnik 1
@GiL
你发现的报错是我的疏忽,感谢了!即将修正。那没有任何影响。
至于 wamp5 下安装,如果是使用 localhost 作为域名访问,确实是有些问题……你可以通过修改 hosts 文件以及 apache 的设置来为本机设定一个域名,这样来得方便。
34 - 3-19 22:43
﹎sκyˊ☆ 佛山
我用PW发行的 WPAM 来install失败鸟!
35 - 3-20 18:40
Bdemon 广东
Babel 安装完成!
点击 这里 进入注册界面注册第一位用户
注意,第一位注册用户拥有特别的权力,请注意安全!
Fatal error: Call to undefined method Installer::vxSessionDestroy() in /home/.josphina/kuxu/kuxu.com/core/RahabPageCore.php on line 692
我点击进入http://www.kuxu.com/user/create.vx,提示错误
Not Found

The requested URL /user/create.vx was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

我设置错误了?
36 - 3-21 10:28
lost 北京市海淀区
明明开启了URL Rewrite Module
到第3步还是提示
Babel Installer: 3 of 4

MySQL: 符合!

Rewrite Module: 服务器没有启用 Rewrite Module
37 - 3-21 10:39
lost 北京市海淀区
用了Leechael的apache配置文件好了``
38 - 3-25 22:56
linglei 地球
8 楼 Bdemon : 你的问题是怎么解决的?

我的也是:


配置文件:写入失败!

.htaccess Ruwrite Rule:写入失败!

你的输入似乎有些问题。
39 - 3-26 11:38
after22 Sputnik 1
@Leechael

我在(mt)上安装 http://www.after22.net/r9/htdocs/install.php

确什么都显示不出来 请问这是为什么啊?
我将全部文件放到了 httpdocs

谢谢
40 - 4-22 15:18
aye 地球
[file]htdocs/.htaccess: 无法写入该文件(夹)或者该文件(夹)不存在。

[file]htdocs/core/Settings.php: 权限正确!

[file]cron/core/Settings.php: 该文件已存在,备份至文件夹 res 下。

[file]htdocs/core/Vocabularies.php: 该文件已存在,备份至文件夹 res 下。

应该如何改?
看完之后有话想说?那就帮楼主加盖一层吧!


当前热门主题  翻墙新运动,数羊。 ... 41 篇回复
© 2007 A Xin Liu Production   -   About
a site powered by Project Babel